home *** CD-ROM | disk | FTP | other *** search
/ Assassins - Ultimate CD Games Collection 4 / Assassins 4 (1999)(Weird Science).iso / tools_to_use / flushmemcx / flushmemcx.txt < prev    next >
Text File  |  1996-05-01  |  7KB  |  176 lines

  1.                                      _.._
  2.               _.._                ..oøOOøo..                _.._
  3.            o*¤°¬¬°¤*o._       _.oO*¤^°¬¬°^¤*Oo._       _.o*¤°¬¬°¤*o
  4.           ./         ¯¬°¤*O*¤°¬¯              ¯¬°¤*O*¤°¬¯         \.
  5.   .   . ..:.        _______    ______________    _____            .:..  .   .
  6.           ||       / ___/ /   / / / ____/ / /\/\/ ___/ /\/\   CX   ||
  7.           ||      / __// / /\/ / /\   \/   /    \   /\/    \       ||
  8.           ||  ___/ /   \¯¯¯ /   /¯¯¯¯ / / / /\/\ \¯¯ / /\/\ \___   ||
  9.          .:.  \  \/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\/  /   .:.
  10.           :    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯     :
  11.           .                  by Alan Doyle                          .
  12.           .            Released on 2nd May 1996.                    .
  13.  
  14.  DISCAIMER
  15.  ---------------------------------------------------------------------------
  16.  The author is  NOT  responsible for  the  suitability or  accuracy of  this
  17.  documentation and/or the program(s)  it describes.  Any damage  directly or
  18.  indirectly caused by the use or  misuse of this  documentation  and/or  the
  19.  program(s) it describes is the sole responsibility of the user her/him self
  20.  ---------------------------------------------------------------------------
  21.  
  22.  COPYRIGHT
  23.  ---------------------------------------------------------------------------
  24.  FlushMemCX v1.0,  © Copyright  1996  Alan Doyle.     All  rights  reserved.
  25.  This program may be distributed  non-commercially only  providing that  the
  26.  executable,  source  code,  documentation  and   copyright  notices  remain
  27.  unchanged and are included with the distribution. This program is  FREEWARE
  28.  so no financial donation  is  necessary ( but welcome ). Send me a postcard
  29.  of your hometown if you use this program.
  30.  ---------------------------------------------------------------------------
  31.  
  32.  This program  is  for  all  of you who have programs that make heavy use of
  33.  fonts, libraries and devices but don't close or free  them  all  when  they 
  34.  quit, thus using valuble memory with unwanted files.
  35.  FlushMemCX  is  a  commodity  that  offers  the possibility to release that 
  36.  memory at the touch of a few keys. 
  37.  It's  possible to start FlushMemCX  from  
  38.  either the Shell or the Workbench. The  following  arguments are  possible:
  39.  
  40.     PRIORITY=<pri>      - With  this  argument  it's  possible   to  set  the
  41.                           commodity it's priority in  the commodities  queue.
  42.                           Default : 0
  43.  
  44.     POPWINDOW=<YES|NO>  - This enables  you to tell  wether  or not  you want
  45.                           FlushMemCX to open it's window upon startup.
  46.                           Default : NO
  47.  
  48.     POPKEY=<hotkey>     - This enables you to set your own hotkey (See below)
  49.                           to popup FlushMemCX window.
  50.                           Default : lshift lalt p
  51.  
  52.     FLUSH=<hotkey>      - This enables you to set your own hotkey (See below)
  53.                           to cause the commodity to flush memory.
  54.                           Default : lshift lalt f
  55.  
  56.     DEVICES=<YES|NO>    - This specifies whether you want to  flush  unwanted
  57.                           devices from RAM or not.
  58.                           Default : YES
  59.  
  60.     FONTS=<YES|NO>      - This specifies whether you want to  flush  unwanted
  61.                           fonts from RAM or not.
  62.                           Default : YES
  63.     LIBRARY=<YES|NO>    - This specifies whether you want to  flush  unwanted
  64.                           libraries from RAM or not.
  65.                           Default : YES
  66.  
  67.  Here are some examples of how you can start FlushMemCX from the Shell:
  68.  
  69.     Run FlushMemCX POPWINDOW=YES POPKEY="lcommand p"
  70.     Run FlushMemCX FLUSH "control q"
  71.  
  72.  NOTE: You have to "Run" or "RunBack" FlushMemCX when you start it  from  the
  73.        Shell. This is because DICE does  not have an  auto detach  "_main.c".
  74.  
  75.  You must specify the arguments via the tooltypes  array of the  program it's
  76.  icon when  it's  started  from the  Workbench.   When  you  start FlushMemCX 
  77.  from the WBStartup drawer you must specify the DONOTWAIT tooltype.
  78.  
  79.  The FlushMemCX window:
  80.  
  81.  The FlushMemCX window always opens on the  default  public screen.  When the 
  82.  window is open you will see seven gadgets:
  83.  
  84.     Flush Devices            -> This controls whether DEVICES are flushed  or
  85.                                 not.
  86.  
  87.     Flush Fonts              -> This  controls  whether  FONTS are flushed or 
  88.                                 not.
  89.  
  90.     Flush Libraries          -> This  controls  whether LIBRARIES are flushed
  91.                                 or not.
  92.  
  93.     About                     -> Brings up an About Requester.
  94.     
  95.     Flush                     -> Flushes Memory ( Only  selected  options  are 
  96.                                 flushed ).
  97.                                  
  98.     Hide                     -> Click on  this  gadget to hide the FlushMemCX 
  99.                                 window.
  100.  
  101.     Quit                     -> Click on this  gadget  to  remove  FlushMemCX 
  102.                                 from the system.
  103.  
  104.  
  105.     NOTE : All keyboard shortcuts are underlined.
  106.     
  107.  Input Description Strings (HotKeys):
  108.  
  109.  The Input Description String (HotKeys) has the following template:
  110.  
  111.     <qualifier> [qualifier] [...] <key>
  112.  
  113.     qualifier:  lshift          left shift key
  114.                 rshift          right shift key
  115.                 shift           either shift key
  116.                 capslock        capslock key
  117.                 caps            shift or capslock key
  118.                 control         control key
  119.                 lalt            left alt key
  120.                 ralt            right alt key
  121.                 alt             either alt key
  122.                 lcommand        left amiga key
  123.                 rcommand        right amiga key
  124.                 numericpad      key on numericpad
  125.                 rbutton         right mouse button
  126.                 midbutton       middle mouse button
  127.                 leftbutton      left mouse button
  128.                 newprefs        change in preferences
  129.                 diskremoved     disk ejected
  130.                 diskinserted    guess what.....
  131.  
  132.     key         f1 -> f10       function keys
  133.                 up              cursor up key
  134.                 down            cursor down key
  135.                 left            cursor left key
  136.                 right           cursor right key
  137.                 help            help key
  138.                 del             delete key
  139.                 return          return key
  140.                 enter           enter key
  141.                 backspace       backspace key
  142.                 esc             escape key
  143.                 space           space key
  144.                 comma           comma key
  145.                 upstroke        key released
  146.                 a -> z, 0 -> 9  normal ansi keys
  147.  
  148.  Choose your keys carefully when other commodities are running.
  149.  
  150.  Requirements:
  151.  
  152.  FlushMemCX needs at least Kickstart 2.0 V36++ to run.
  153.  
  154.  
  155.  History:
  156.  
  157.  V1.0 (2-May-1996) 10048 bytes.
  158.  
  159.     - Initial release
  160.  
  161.  
  162. AUTHOR
  163. ¯¯¯¯¯¯
  164.         If you have any comments, bugs, ideas please send them to ..
  165.  
  166.         Alan Doyle,
  167.         247 Ratoath Road,
  168.         Cabra West,
  169.         Dublin 7,
  170.         IRELAND.
  171.  
  172.         E-Mail :-   tgellen@grex.cyberspace.org
  173.  
  174.     
  175.  
  176.